package com.realwronger.springcool.demo;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.realwronger.common.Hello;

public abstract class EasyDemoBase {
	
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"applicationContext.xml");
		Hello hello = (Hello) context.getBean("helloName", Hello.class);
		hello.sayHi();
	}
}
